package com.mingteng.mobile_feedback.domin.Mapper;

import com.mingteng.mobile_feedback.domin.ViewMesScInfoList;
import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class ViewMesScInfoMapper implements RowMapper<ViewMesScInfoList> {
    @Override
    public ViewMesScInfoList mapRow(ResultSet rs, int rowNum) throws SQLException {
        ViewMesScInfoList v = new ViewMesScInfoList();
        v.setCustomerid(rs.getString("Customerid"));
        v.setCustomerName(rs.getString("CustomerName"));
        v.setCycle(rs.getString("Cycle"));
        v.setFid(rs.getString("fid"));
        v.setFihishFlag(rs.getString("FihishFlag"));
        v.setFlag(rs.getString("Flag"));
        v.setForder(rs.getString("Forder"));
        v.setFshDate(rs.getString("FshDate"));
        v.setFshFlag(rs.getString("FshFlag"));
        v.setFshName(rs.getString("FshName"));
        v.setGxCode(rs.getString("Gx_Code"));
        v.setGxFlag(rs.getString("Gx_Flag"));
        v.setGxName(rs.getString("Gx_Name"));
        v.setGxRelation(rs.getString("Gx_relation"));
        v.setGxZTCode(rs.getString("Gx_ZT_Code"));
        v.setGxZTName(rs.getString("Gx_ZT_Name"));
        v.setId(rs.getString("id"));
        v.setIsFinished(rs.getString("IsFinished"));
        v.setIssDate(rs.getString("IssDate"));
        v.setIssUser(rs.getString("IssUser"));
        v.setJh(rs.getString("JH"));
        v.setJhDate(rs.getString("JhDate"));
        v.setJhksDate(rs.getString("JHKSDate"));
        v.setJHWgGc(rs.getString("JH_Wg_Gc"));
        v.setJHZxBz(rs.getString("JH_Zx_Bz"));
        v.setOrderCode(rs.getString("Order_Code"));
        v.setPno(rs.getString("PNo"));
        v.setProductid(rs.getString("Productid"));
        v.setProductName(rs.getString("ProductName"));
        v.setPweight(rs.getString("Pweight"));
        v.setRemark(rs.getString("Remark"));
        v.setScOrderCode(rs.getString("ScOrder_Code"));
        v.setSjDate(rs.getString("SJDate"));
        v.setSjWgGc(rs.getString("SJ_Wg_Gc"));
        v.setSjZxBz(rs.getString("SJ_Zx_Bz"));
        v.setUnitAmount(rs.getString("Unit_Amount"));
        v.setWcsj(rs.getString("Wcsj"));
        v.setWgHbr_Code(rs.getString("WgHbr_Code"));
        v.setWgHbr_Name(rs.getString("WgHbr_Name"));
        v.setXdsl(rs.getString("Xd_sl"));
        v.setZt(rs.getString("zt"));
        return v;
    }
}
